<script setup>
  const rules = {
    password: [
      { required: true, message: '请输入密码', trigger: 'blur' },
      {
        pattern: /^\S{1,20}$/,
        message: '昵称必须是1-20位的非空数字',
        trigger: 'blur'
      }
    ],
  }
</script>

<template>
  <el-card class="page-container">
    <template #header>
      <div class="header">
        <span>重置密码</span>
      </div>
    </template>
    <el-row>
      <el-col :span="12">
        <el-form :rules="rules" label-width="100px" size="large">
          <el-form-item label="用户名">
            <el-input  disabled></el-input>
          </el-form-item>
          <el-form-item label="密码" prop="password">
            <el-input ></el-input>
          </el-form-item>
          <el-form-item>
            <el-button type="primary" >提交修改</el-button>
          </el-form-item>
        </el-form>
      </el-col>
    </el-row>
  </el-card>
</template>

<style scoped>

</style>